package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Update;

/**
 * @author jshstart
 * @creat 2020-11-23 9:42
 */
public interface UserMapper extends BaseMapper<User> {
    @Update("update t_user set pwd=#{pwd} where user_name=#{userName}")
    void updateByUserName(User user);
}
